package com.mes.cloud.api.dto.request.employee;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description TODO
 * @author: wxm
 * @date: 2019/8/23 10:55
 * @version: 1.0
 */
@Data
public class SynchroEmployeeUpdateByIdRequest {

    @ApiModelProperty(value = "主键", required = true)
    private String id;

    @ApiModelProperty(value = "工号", required = true)
    @NotNull(message = "工号不能为空")
    private String employeeNo;

    @ApiModelProperty(value = "员工状态（0：离职，1：在职）", required = true)
    @NotNull(message = "员工状态")
    private String status;

    @ApiModelProperty(value = "员工姓名", required = true)
    private String realName;

    @ApiModelProperty(value = "员工姓名", required = true)
    private String email;

    @ApiModelProperty(value = "员工姓名", required = true)
    private String mobile;

    @ApiModelProperty(value = "员工姓名", required = true)
    private String baseStation;

    @ApiModelProperty(value = "主要岗位ID", required = false)
    private String mainPositionId;

    @ApiModelProperty(value = "主要岗位名", required = false)
    private String mainPositionName;

    @ApiModelProperty(value = "主要组织ID", required = false)
    private String mainOrganizationId;

    @ApiModelProperty(value = "主要组织名", required = false)
    private String mainOrganizationName;


}
